package com.cat.model.biz.logic.impl;

import java.util.Collections;
import java.util.List;
import java.util.Map;

public class TestCache {

	private List<String> list;
	private Map<String, String> map;
	
	private TestCache() {
	}

	static TestCache buildCache(List<String> list,
			Map<String, String> map) {
		TestCache cache = new TestCache();
		cache.list = list;
		cache.map = map;
		return cache;
	}

	static TestCache defaultCache() {
		TestCache cache = new TestCache();
		cache.list = Collections.emptyList();
		cache.map = Collections.emptyMap();
		return cache;
	}

	public List<String> list() {
		return list;
	}

	public Map<String, String> map() {
		return map;
	}

}
